

      <div class="content col-xs-12 col-sm-10">
            <div class="banner">
              <p class="fl">图片管理 > 添加图片</p>
            </div>
          
            <div class="infoBox">
              <div class="info">
        <?php echo validation_errors(); ?>

         <?php 
              $attributes = array('enctype' => 'multipart/form-data');
              echo form_open('images/add', $attributes); 
              ?>                   
                        <div class="line">
                            <label>标题：</label>
                            <input type="text" value="" name="title" />
                        </div>
                       <div class="line">
                            <input type="file" value="图片上传" name="image" accept="image/png,image/gif,image/jpeg,image/jpg" size="10" />
                        </div>

                       <div class="lastLine">
                          <input type="submit" value="提交" class="add"/>
                          <!-- <input type="button" value="" class="cancel fr"/> -->

                      </div>  
                 </form> 
                </div>

            </div>
          
        </div>
      </div>
    </div>
